﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using System.IO;

namespace Creator.Negocio.Basico
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the class name "Usuarios" in code, svc and config file together.
    public class Usuarios : IUsuarios
    {
        public string MontarTelaLoginHTML()
        {
            TextWriter Arquivo = new StreamWriter("C:\\Origem\\login.html");

            Arquivo.WriteLine("<html>");
            Arquivo.WriteLine("<head>");
            Arquivo.WriteLine("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\"/>");
            Arquivo.WriteLine("<title>HTML teste Daianny</title>");
            Arquivo.WriteLine("</head>");
            Arquivo.WriteLine("<body>");
            Arquivo.WriteLine("<img src=\"\\\\192.168.0.177\\C:\\origem\\TesteWCF\\HTML\\imagem.jpg\" width=\"230\" height=\"228\" alt=\"imagem\"> <br>Oi! <br/>(^_^)");
            Arquivo.WriteLine("</body>");
            Arquivo.WriteLine("</html>");

            Arquivo.Close();

            return "";
        }

        public bool VerificarLoginSenha(string Login, string Senha)
        {
            throw new NotImplementedException();
        }
    }
}
